package com.xnyzc.lhy.mis.entity.punishment;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
*
* 司机处罚表 
*
* @author cuixiaojian
* @since 2019-10-27
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaDUserPenalty对象", description="司机处罚表 ")
public class OaDUserPenalty implements Serializable {

private static final long serialVersionUID = 1L;

    @TableId(value="penalty_id", type = IdType.INPUT)
    private Long penaltyId;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    @ApiModelProperty(value = "累计违规次数")
    private Integer cumulativeNumberViolations;

    @ApiModelProperty(value = "累计处罚次数")
    private Integer cumulativeNumberPenalties;

    @ApiModelProperty(value = "违规类型")
    private String punishmentType;

    @ApiModelProperty(value = "累计司机违规处罚金额总计")
    private BigDecimal cumulativeAmount;

    @ApiModelProperty(value = "是否存在待处罚行为(0 未存在 1，存在)")
    private Integer isPenalty;

    private Integer deleted;

    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;


    public static final String PENALTY_ID = "penalty_id";

    public static final String DRIVER_ID = "driver_id";

    public static final String CUMULATIVE_NUMBER_VIOLATIONS = "cumulative_number_violations";

    public static final String CUMULATIVE_NUMBER_PENALTIES = "cumulative_number_penalties";

    public static final String PUNISHMENT_TYPE = "punishment_type";

    public static final String CUMULATIVE_AMOUNT = "cumulative_amount";

    public static final String IS_PENALTY = "is_penalty";

    public static final String DELETED = "deleted";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

}
